﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ForumContent.aspx.cs" Inherits="InformationSystem.WebSite.Forum.ForumContent" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>学生信息事务服务系统论坛</title>
    <link href="css/style_1_common.css" rel="stylesheet" type="text/css" />
    <link href="css/style_1_forum_forumdisplay.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="css/style_1_forum_viewthread.css" />
    <link rel="stylesheet" type="text/css" media="all" href="css/mainstyle.css" />
    <link rel="Stylesheet" type="text/css" href="../css/jquery-ui-1.7.1.custom.css" />
    <!--[if IE 7]><link rel="stylesheet" href="../css/ie.css" type="text/css" media="screen, projection" /><![endif]-->
    <!--[if IE 6]><link rel="stylesheet" href="../css/ie6.css" type="text/css" media="screen, projection" /><![endif]-->
    <!--[if IE]>
		<style type="text/css">
		  .clearfix {
		    zoom: 1;     /* triggers hasLayout */
		    display: block;     /* resets display for IE/Win */
		    }  /* Only IE can see inside the conditional comment
		    and read this CSS rule. Don't ever use a normal HTML
		    comment inside the CC or it will close prematurely. */
		</style>
	<![endif]-->
    <!-- JavaScript -->
    <script type="text/javascript" src="../Scripts/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../Scripts/jquery-ui-1.7.1.custom.min.js"></script>
    <script type="text/javascript" src="../Scripts/hoverIntent.js"></script>
    <script type="text/javascript" src="../Scripts/superfish.js"></script>
    <script type="text/javascript" src="../Scripts/excanvas.pack.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.flot.pack.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.markitup.pack.js"></script>
    <script type="text/javascript" src="../Scripts/set.js"></script>
    <script type="text/javascript" src="../Scripts/custom.js"></script>
    <script src="js/tiny_mce/tiny_mce.js" type="text/javascript"></script>
    <script type="text/javascript">
        tinyMCE.init({
            // General options
            language: "cn",
            mode: "textareas",
            //encoding: "html",
            theme: "advanced",
            //plugins: "autolink,lists,style,layer,advhr,advlink,inlinepopups,paste,directionality,noneditable,xhtmlxtras",
            // Theme options
            theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,fontselect,fontsizeselect,|,forecolor,backcolor,|outdent,indent,|,link,unlink,code",
            theme_advanced_buttons2: "",
            theme_advanced_toolbar_location: "top",
            theme_advanced_toolbar_align: "left",
            theme_advanced_statusbar_location: "bottom",

            theme_advanced_resizing: false,
            // Skin options     
            skin: "o2k7",
            skin_variant: "silver"
        }
     );

        function deleteinfo(type, id) {
            if (type == "thread") {
                document.getElementById('objtype').value = 0;
                document.getElementById('objid').value = id;

            }
            else if (type == "reply") {
                document.getElementById('objtype').value = 1;
                document.getElementById('objid').value = id;
            }
            var evt = document.createEvent("MouseEvents");
            evt.initEvent("click", true, true);
            document.getElementById("delete").dispatchEvent(evt);

        }
    </script>
</head>
<body>
    <div class="container" id="container">
        <div id="header" >
            <div id="profile_info" style="visibility:hidden">
                <img src="../img/avatar.jpg" id="avatar" alt="avatar" onclick="window.location('Panel.aspx?p=1')"
                    style="cursor: pointer" />
                <%--<p>
                    欢迎&nbsp;<a href="../Panel.aspx?p=1">rzepak</a>--%>
            </div>
            <div id="logo">
                <h1>
                    <a href="/">AdmintTheme</a></h1>
            </div>
        </div>
        <!-- end header -->
        <div id="content">
            <div id="top_menu" class="clearfix">
                <ul class="sf-menu">
                </ul>
                <div style="cursor: pointer;line-height: 16px;visibility:hidden" onclick='mywindow.show()'>
                    <a id="visit" class="right">关于/About</a></div>
            </div>
            <div class="section">
                <div id="wp" class="wp">
                    <div id="pt" class="bm cl">
                        <div class="z">
                            <a href="/" class="nvhm" title="首页">系统首页</a><em>&raquo;</em><a href="./ForumList.aspx">论坛首页</a>
                            <em>&rsaquo;</em> <a id="threaduri" runat="server" href="javascript:void(0)"></a>
                        </div>
                    </div>
                    <div id="ct" class="wp cl" style="width: 940px; margin-left: 0px">
                        <div id="pgt" class="pgs mbm cl ">
                            <div class="pgt">
                                <div class="pg" id="fastpagetop" runat="server">
                                </div>
                            </div>
                            <a id="newspecialtop" href="javascript:void(0)" title="发新帖" runat="server">
                                <img src="image/pn_post.png" alt="发新帖" /></a>
                        </div>
                        <div id="postlist" class="pl bm">
                            <table cellspacing="0" cellpadding="0">
                                <tr>
                                    <td class="pls ptm pbm">
                                        <div class="hm" runat="server" id="divtotal">
                                            <span class="xg1">查看:</span> <span class="xi1" runat="server" id="viewcount">0</span><span
                                                class="pipe">|</span><span class="xg1">回复:</span> <span class="xi1" runat="server"
                                                    id="replycount">0</span>
                                        </div>
                                        <div class="cl" runat="server" id="divfloor">
                                        </div>
                                    </td>
                                    <td class="plc ptm pbn vwthd">
                                        <h1 class="ts">
                                            <a href="javascript:void(0)" id="thread_subject" runat="server"></a>
                                        </h1>
                                    </td>
                                </tr>
                            </table>
                            <%--间隔--%>
                            <table cellspacing="0" cellpadding="0" class="ad">
                                <tr>
                                    <td class="pls">
                                    </td>
                                    <td class="plc">
                                    </td>
                                </tr>
                            </table>
                            <div id="post" runat="server">
                            </div>
                        
                            <div class="pgs mtm mbm cl">
                                <div class="pg" id="fastpagebottom" runat="server">
                                </div>
                                <a id="newspecialend" href="javascript:void(0)" title="发新帖" runat="server">
                                    <img src="image/pn_post.png" alt="发新帖" /></a>
                            </div>
                            <form id="fastpostform" runat="server" method="post">
                            <div id="f_pst" class="pl bm bmw">
                                <table cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td class="pls">
                                            <%-- <div class="avatar">
                                            <img width="120" src="" alt="" /></div>--%>
                                        </td>
                                        <td class="plc">
                                            <span id="fastpostreturn"></span>
                                            <div class="cl">
                                                <asp:TextBox ID="brand" Width="100%" Height="150" TextMode="MultiLine" runat="server" />
                                            </div>
                                            <p class="ptm pnpost">
                                                <button type="submit" name="replysubmit" id="fastpostsubmit" class="pn pnc vm" value="replysubmit"
                                                    tabindex="5">
                                                    <strong>发表回复</strong></button>
                                                <label for="anoreply" runat="server" id="lbanoreply">
                                                    <input id="anoreply" name="anoreply" type="checkbox" class="pc" runat="server" title="aa" />匿名回帖，自己可见
                                                </label>
                                                <label for="fastpostrefresh" runat="server" id="lbfastpostrefresh">
                                                    <input id="fastpostrefresh" type="checkbox" class="pc" runat="server" style="margin-left: 10px" />回帖后跳转到第一页
                                                </label>
                                            </p>
                                        </td>
                                    </tr>
                                </table>
                                <button type="submit" name="delete" id="delete" style="display: none">
                                </button>
                            </div>
                            <input type="hidden" id="objtype" runat="server" value="-1" />
                            <input type="hidden" id="objid" runat="server" value="0" />
                            </form>
                        </div>
                    </div>
                    <div class="wp mtn">
                        <!--[diy=diy3]-->
                        <div id="diy3" class="area">
                        </div>
                        <!--[/diy]-->
                    </div>
                </div>
                <!-- end container -->
            </div>
            <!-- end #content -->
            <div id="footer" class="clearfix">
                <p class="left">
                    Power by 3161140 672598722</p>
                <p class="right">
                    © 2012 NJUST, Some Rights Reserved.</p>
            </div>
            <!-- end #footer -->
        </div>
    </div>
</body>
</html>
